package com.party.core.model.member;

import com.party.core.model.BaseModel;

/**
 * 合作商统计总表
 * Created by wei.li.
 *
 * @date 2017/12/11 0011
 * @time 17:53
 */
public class MemberMerchantCount extends BaseModel {
    private static final long serialVersionUID = 5429202657995756283L;

    //会员编号
    private String memberId;

    //机构报名数
    private Integer applyNum;

    // 众筹成功数
    private Integer successNum;

    //机构订单数
    private Integer orderNum;

    //机构资金
    private Double money;

    //机构浏览量
    private Long viewNum;

    //机构会员数
    private Integer memberNum;

    //机构实名会员
    private Integer realMemberNum;

    public MemberMerchantCount() {
    }

    public MemberMerchantCount(Integer applyNum, Integer orderNum, Double money, Long viewNum, Integer memberNum, Integer realMemberNum) {
        this.applyNum = applyNum;
        this.orderNum = orderNum;
        this.money = money;
        this.viewNum = viewNum;
        this.memberNum = memberNum;
        this.realMemberNum = realMemberNum;
    }

    public MemberMerchantCount(Integer applyNum, Integer successNum, Integer orderNum, Double money, Long viewNum, Integer memberNum, Integer realMemberNum) {
        this.applyNum = applyNum;
        this.orderNum = orderNum;
        this.money = money;
        this.viewNum = viewNum;
        this.memberNum = memberNum;
        this.realMemberNum = realMemberNum;
        this.successNum = successNum;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public Integer getApplyNum() {
        return null == applyNum ? 0 : applyNum;
    }

    public void setApplyNum(Integer applyNum) {
        this.applyNum = applyNum;
    }

    public Integer getOrderNum() {
        return null == orderNum ? 0 : orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Double getMoney() {
        return null == money ? 0d : money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Long getViewNum() {
        return viewNum;
    }

    public void setViewNum(Long viewNum) {
        this.viewNum = viewNum;
    }

    public Integer getMemberNum() {
        return memberNum;
    }

    public void setMemberNum(Integer memberNum) {
        this.memberNum = memberNum;
    }

    public Integer getRealMemberNum() {
        return realMemberNum;
    }

    public void setRealMemberNum(Integer realMemberNum) {
        this.realMemberNum = realMemberNum;
    }

    public Integer getSuccessNum() {
        return successNum;
    }

    public void setSuccessNum(Integer successNum) {
        this.successNum = successNum;
    }
}
